set(LWIP_SOURCES
    src/core/timers.c
    src/core/udp.c
    src/core/memp.c
    src/core/init.c
    src/core/pbuf.c
    src/core/tcp.c
    src/core/tcp_out.c
    src/core/sys.c
    src/core/netif.c
    src/core/def.c
    src/core/mem.c
    src/core/tcp_in.c
    src/core/stats.c
    src/core/inet_chksum.c
    src/core/ipv4/icmp.c
    src/core/ipv4/ip4.c
    src/core/ipv4/ip4_addr.c
    src/core/ipv4/ip_frag.c
    src/core/ipv6/ip6.c
    src/core/ipv6/nd6.c
    src/core/ipv6/icmp6.c
    src/core/ipv6/ip6_addr.c
    src/core/ipv6/ip6_frag.c
    custom/sys.c
)
badvpn_add_library(lwip "system" "" "${LWIP_SOURCES}")
